//
//  LoginViewController.h
//  Politics
//
//  Created by Hai Nguyen on 7/4/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LoginParser.h"
#import "RegistryViewController.h"

@interface LoginViewController : UIViewController <UITextFieldDelegate,RegistryViewDelegate,LoginParserDelegate>
{
	IBOutlet UITextField *username;
	IBOutlet UITextField *password;
	
	IBOutlet UIView *bgView;
	RegistryViewController *registerController;
}
- (void)login:(NSString*)userId password:(NSString*)userPassword;
- (IBAction) buttonPressed:(id) sender;
- (void)animationAppearance;

@end
